package com.peng.edu.service;

import com.peng.edu.entity.Chapter;
import com.baomidou.mybatisplus.extension.service.IService;
import com.peng.edu.entity.chapter.ChapterVo;

import java.util.List;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author Dengp
 * @since 2022-06-16
 */
public interface ChapterService extends IService<Chapter> {
    //获取课程大纲列表，根据课程id进行查询
    List<ChapterVo> getChapterVideo(String courseId);
    //根据Id删除章节
    boolean deleteChapter(String chapterId);
}
